package com.yzk.common.core.domain.wallpaper;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@Data
public class WallpaperPlayDetails {


    @JsonProperty("id")
    private Integer id;
    @JsonProperty("location")
    private List<Double> location;
    @JsonProperty("title")
    private String title;
    @JsonProperty("count")
    private Integer count;
    @JsonProperty("other")
    private List<OtherDTO> other;

    @NoArgsConstructor
    @Data
    public static class OtherDTO {
        @JsonProperty("id")
        private Integer id;
        @JsonProperty("name")
        private String name;
        @JsonProperty("url")
        private String url;
    }
}
